import React, {Component} from "react";
import classnames from 'classnames';

class BrandRate extends Component {
    constructor(props) {
        super(props);
        this.state = {}
    }

    render() {
        const {show,productCode,brand,taxRateDesc} = this.props;
        console.log("1111showBrandRate" + show);
        return (
            <div className={classnames("detail_pop_bg", {"show": show})}>
                <div className="pop_container">
                    <h3><div className="colsed" onClick={this._closed.bind(this)} ></div></h3>
                   <ul className="brand-rate-ul">
                       <li className="brand-rate-li">货品编号:{productCode}</li>
                       <li>品牌:{brand}</li>
                       <li>税率:{taxRateDesc}</li>
                   </ul>
                </div>
            </div>
        );
    }

    _closed(){
        this.props.closed();
        this.setState({
            value:1
        })
    }

}

export default BrandRate;